<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>主编信息列表</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}

.tabfont01 {
	font-family: "宋体";
	font-size: 9px;
	color: #555555;
	text-decoration: none;
	text-align: center;
}

.font051 {
	font-family: "宋体";
	font-size: 12px;
	color: #333333;
	text-decoration: none;
	line-height: 20px;
}

.font201 {
	font-family: "宋体";
	font-size: 12px;
	color: #FF0000;
	text-decoration: none;
}

.button {
	font-family: "宋体";
	font-size: 14px;
	height: 37px;
}

html {
	overflow-x: auto;
	overflow-y: auto;
	border: 0;
}
-->
</style>

<link href="css/css.css" rel="stylesheet" type="text/css" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">



//全选
function checkAll(name)
{
  var names=document.getElementsByName(name);
  var len=names.length;
  if(len>0)
  {
   var i=0;
   for(i=0;i<len;i++)
   names[i].checked=true;
    
  }
}

//全不选
function checkAllNo(name)
{
  var names=document.getElementsByName(name);
 var len=names.length;
 if(len>0)
  {
    var i=0;
    for(i=0;i<len;i++)
    names[i].checked=false;
  }
}

//反选
function reserveCheck(name)
{
  var names=document.getElementsByName(name);
 var len=names.length;
 if(len>0)
 {
 var i=0;
   for(i=0;i<len;i++)
   {
     if(names[i].checked)
     names[i].checked=false;
     else
     names[i].checked=true;
     
   }
 } 

}

function XXX()
  {
   document.checkIds.submit();
  }
</script>

</head>
<body>
<form action="" name="checkIds">
	<table id="mainpage" width="100%" border="0" cellspacing="0"
		cellpadding="0">
		<tr>
			<td height="30">
			
			<table width="100%" border="0" cellspacing="0"
					cellpadding="0">
					<tr>
						<td background="images/nav04.gif" height="62"><span class="newfont07">&nbsp;&nbsp;&nbsp;&nbsp;选择：
								<input type="radio" name="choice" id="ckall"
								onclick="checkAll('editorChiefIdStr','ckall')" />全选 <input
								type="radio" name="choice" id="ckReserve"
								onclick="reserveCheck('editorChiefIdStr','ckReserve')" />反选
						</span>
						<!--  
						<span class="newfont07">邮箱名称: 
						<input  style="height: 14px; padding-top: 0px" name="emailTest" value="test1" type="hidden" />
							 <input  style="height: 14px; padding-top: 0px" name="user.email" type="text" /><input type="submit" class="right-button02" value="查 询" />
							 </span> --></td>						 
					</tr>
				</table>
				 
				
				
				</td>
		</tr>
		<tr>
			<td>
				<table id="subtree1" style="DISPLAY: " width="100%" border="0"
					cellspacing="0" cellpadding="0">
					<tr>
						<td>
							<table width="95%" border="0" align="center" cellpadding="0"
								cellspacing="0">

								<tr>
									<td height="40" class="font42">
										
											<table width="100%" border="0" cellpadding="4" align="center"
												cellspacing="1" bgcolor="#464646" class="newfont03">
												<tr>
													<td height="20" colspan="3" align="center"
														bgcolor="#EEEEEE" class="tablestyle_title">主编列表</td>
												</tr>
												<tr>
													<td width="5%" align="center" bgcolor="#EEEEEE">选择</td>
													
													<!-- <td width="5%" align="center" bgcolor="#EEEEEE">营业执照</td>

													<td width="5%" align="center" bgcolor="#EEEEEE">代码证</td> -->
													<td width="5%" align="center" bgcolor="#EEEEEE">公司地址</td>
													<td width="5%" align="center" bgcolor="#EEEEEE">操作</td>
												</tr>
												<c:forEach var="list" items="${requestScope.pages.records}">
													<tr align="center">
														<td width="5%" align="center" bgcolor="#EEEEEE"><input
															type="checkbox" name="editorChiefIdStr" value="${list.editorChiefId }" />
														</td>
														<!-- <td width="10%" align="center" bgcolor="#EEEEEE"> ${list.userId}</a></td>-->
														<%-- <td width="10%" align="center" bgcolor="#EEEEEE">
															${list.businessId}
															
														</td>

														<td width="10%" align="center" bgcolor="#EEEEEE">
															${list.codeId}
														</td> --%>
														<td width="10%" align="center" bgcolor="#EEEEEE">${list.address}
														</td>
														<td width="10%" align="center" bgcolor="#EEEEEE">
															<a
															href="user/recoverChief?editorChiefIdStr=${list.editorChiefId }">恢复角色</a>
														</td>
													</tr>
												</c:forEach>
											</table>
										
										<jsp:include page="../../page.jsp" /></td>
								</tr>
							</table></td>
					</tr>
				</table></td>
		</tr>
	</table>
</form> 
</body>
</html>
